﻿namespace PowerSong.UserInterface
    {
    using System.Windows.Media;

    public class StyleOverride
        {

        public SolidColorBrush Colour { get; private set; }

        public string ImageFileName { get; private set; }

        public string VideoFileName { get; private set; }

        private StyleOverride()
            {
            }

        public static StyleOverride CreateColour(SolidColorBrush colour)
            {
            var result = new StyleOverride();
            result.Colour = colour;
            return result;
            }

        public static StyleOverride CreateColour(Color colour)
            {
            var result = new StyleOverride();
            result.Colour = new SolidColorBrush(colour);
            return result;
            }

        public static StyleOverride CreateImage(string fileName)
            {
            var result = new StyleOverride();
            result.ImageFileName = fileName;
            return result;
            }

        public static StyleOverride CreateVideo(string fileName)
            {
            var result = new StyleOverride();
            result.VideoFileName = fileName;
            return result;
            }

        }

    }
